package com.zlp.mybatisplus.mybatisplus.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhulaiping
 * @since 2022-02-22
 */
@TableName("bcrm_flow_appeal")
public class FlowAppeal extends Model<FlowAppeal> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 门店编码
     */
    @TableField("shop_code")
    private String shopCode;

    /**
     * 用户手机号
     */
    private String mobile;

    /**
     * 门店所属BU
     */
    @TableField("bu_code")
    private String buCode;

    /**
     * 申诉理由
     */
    private String reason;

    /**
     * 状态：1.待审核 2.通过 3.驳回
     */
    private Integer status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getBuCode() {
        return buCode;
    }

    public void setBuCode(String buCode) {
        this.buCode = buCode;
    }
    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "FlowAppeal{" +
        "id=" + id +
        ", userId=" + userId +
        ", shopCode=" + shopCode +
        ", mobile=" + mobile +
        ", buCode=" + buCode +
        ", reason=" + reason +
        ", status=" + status +
        "}";
    }
}
